package com.itheima.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author げっしょく
 * @date 2021/9/13
 */


public interface AccountLogService {

    @Transactional(propagation = Propagation.REQUIRES_NEW)
    void insertLog(String inName, String outName, Double menoy);


    @Transactional(propagation = Propagation.REQUIRES_NEW)
    void insertLose(String inName, String outName, Double menoy);
}
